import Layout from "@/layout";
export default {
  path: "/owner-autonomy",
  component: Layout,
  roleid:9,
  name: "OwnerAutonomy",
  meta: { title: "业主自治", icon: "dashboard" },
  children: [
    {
      path: "photograph",
      name: "photograph",
      component: () => import("@/views/owner-autonomy/photograph"),
      meta: { title: "随手拍" },
    },


    {
      path: "decentralize",
      name: "decentralize",
      component: () => import("@/views/owner-autonomy/decentralize"),
      meta: { title: "基层治理4平台" },
    },

    {
      path: "vote",
      name: "OwnerVote",
      component: () => import("@/views/owner-autonomy/vote"),
      meta: { title: "业主投票" },
      children: [
        {
          path: "release",
          name: "VoteRelease",
          component: () => import("@/views/owner-autonomy/vote/release"),
          meta: { title: "业主投票发布" },
        },
        {
          path: "record",
          name: "VoteRecord",
          component: () => import("@/views/owner-autonomy/vote/record"),
          meta: { title: "业主投票记录" },
        },
      ],
    },
    {
      path: "urban-rural",
      name: "UrbanRural",
      component: () => import("@/views/owner-autonomy/urban-rural"),
      meta: { title: "城乡风貌我参与" },
      children: [
        {
          path: "recruit",
          name: "Recruit",
          component: () => import("@/views/owner-autonomy/urban-rural/recruit"),
          meta: { title: "招聘信息" },
        },
        {
          path: "Illegal-report",
          name: "IllegalReport",
          hidden: true,
          component: () =>
            import("@/views/owner-autonomy/urban-rural/Illegal-report"),
          meta: { title: "爆料入口" },
        },
        {
          path: "construction-report",
          name: "ConstructionReport",
          hidden: true,
          component: () =>
            import("@/views/owner-autonomy/urban-rural/construction-report"),
          meta: { title: "特殊施工上报" },
        },
      ],
    },
    {
      path: "mediate",
      name: "Mediate",
      component: () => import("@/views/owner-autonomy/mediate"),
      meta: { title: "矛调中心" },
    },
    {
      path: "rental",
      name: "Rental",
      hidden: true,
      component: () => import("@/views/owner-autonomy/rental"),
      meta: { title: "出租管理" },
      children: [
        {
          path: "banner",
          name: "banner",
          component: () => import("@/views/owner-autonomy/rental/banner"),
          meta: { title: "房屋出租轮播图" },
        },
        {
          path: "houses",
          name: "houses",
          component: () => import("@/views/owner-autonomy/rental/houses"),
          meta: { title: "出租管理" },
        },
        {
          path: "tenant",
          name: "tenant",
          hidden: true,
          component: () => import("@/views/owner-autonomy/rental/tenant"),
          meta: { title: "租户管理" },
        },
      ],
    },
    {
      path: "urban-services",
      name: "UrbanServices",
      hidden: true,
      component: () => import("@/views/owner-autonomy/urban-services"),
      meta: { title: "城市服务" },
    },
    {
      path: "refuse-classification",
      name: "RefuseClassification",
      hidden: true,
      component: () => import("@/views/owner-autonomy/refuse-classification"),
      meta: { title: "垃圾分类管家" },
    },
  ],
};
